<html>
<head>
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <link href="<?=ADMIN_RES_PATH ?>/css/default/admin.css" rel="stylesheet" type="text/css">
    <script src="<?=ADMIN_RES_PATH ?>/js/jquery-1.7.1.js" type="text/javascript"></script>
    <script src="<?=ADMIN_RES_PATH ?>/js/public.js" type="text/javascript"></script>
</head>
<style type="text/css">
#main .search{width:98%; height:30px; line-height:30px; border: 1px solid #BBDDE5; background:#F4FAFB; margin-top:2px;}
img{margin:0 4px; vertical-align:middle}
</style>
<body>
    <?php $web = $this->webconf; ?>
<div id="main">
	<div class="title">网站配置</div>
	<div class="content">
		<form method="post" action="<?=ADMIN_PATH ?>/Webconf/updatebase/data/base" enctype="multipart/form-data">
			<input type="text" name="act" style="display:none" value="base"/>
			<table width="98%" border="0" cellspacing="0" cellpadding="0" class="mytab">
				<tr>
					<td colspan="3" class="tit">基本配置</td>
				</tr>
				<tr>
					<td width="189" align="center">网站标题
					<td width="579"><input type="text" name="title" class="inp" value="<?=$web['title'] ?>"/></td>
					<td width="350" align="left">输入网站标题，即显示在浏览器标签页上的标题</td>
				</tr>
				<tr>
					<td width="189" align="center">副标题
					<td width="579"><input type="text" name="sectitle" class="inp" value="<?=$web['sectitle'] ?>"/></td>
					<td width="350" align="left">输入副标题</td>
				</tr>
				<tr>
					<td width="189" align="center">网站关键词
					<td width="579"><input type="text" name="keywords" class="inp" value="<?=$web['keywords'] ?>"/></td>
					<td width="350" align="left">输入网站关键词，多个词用半角逗号隔开</td>
				</tr>
				<tr>
					<td align="center">网站描述</td>
					<td width="579"><textarea rows="5" name="discription"><?=$web['discription'] ?></textarea></td>
					<td align="left">输入网站描述</td>
				</tr>
				<tr>
					<td align="center">页脚导航代码</td>
					<td width="579"><textarea name="footnav" rows="10" ><?=$web['footnav'] ?></textarea></td>
					<td align="left">放置页脚导航代码，利于SEO</td>
				</tr>
				<tr>
					<td align="center">ICP备案号</td>
					<td width="579"><input type="text" name="icpcode" class="inp" value="<?=$web['icpcode'] ?>"/></td>
					<td align="left">请输入ICP备案号</td>
				</tr>
				<tr>
					<td width="189" align="center">&nbsp;</td>
					<td width="579"></td>
					<td width="350" align="left">&nbsp;</td>
				</tr>
				<tr>
					<td width="189">&nbsp;</td>
					<td width="579"><input type="submit" class="sub" value="更新"/>&nbsp; </td>
					<td width="350" align="left">&nbsp;</td>
				</tr>
			</table>
		</form>

		<table width="98%" border="0" cellspacing="0" cellpadding="0" class="mytab">
			<tr>
				<td colspan="3" class="tit">图标配置</td>
			</tr>
			<tr>
				<form method="post" action="<?=ADMIN_PATH ?>/Webconf/updatebase/data/logo" enctype="multipart/form-data">
					<td width="189" align="center">网站Logo
					<td width="579">
						<img src="<?=PUBLIC_RES_PATH ?>/imgs/base/logo.png" /><input type='file'  name='logo' />
					</td>
					<td width="350" align="left">
						<input type="submit" class="sub" value="上传"/>&nbsp;
						<span style="color:red;">*</span>格式：png
					</td>
				</form>
			</tr>
			<tr>
				<form method="post" action="<?=ADMIN_PATH ?>/Webconf/updatebase/data/icon" enctype="multipart/form-data">
					<td width="189" align="center">网站图标
					<td width="579">
						<img src="<?=PUBLIC_RES_PATH ?>/imgs/base/favicon.ico" style="height:16px; width:16px;"/><input type='file'  name='icon' />
					</td>
					<td width="350" align="left">
						<input type="submit" class="sub" value="上传"/>&nbsp;
						<span style="color:red;">*</span>格式：ico 大小：16*16像素
					</td>
				</form>
			</tr>
		</table>


	</div>
</div>
</body>
</html>
